const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports =
{
    mode: "production",
    output:{
        filename:'./js/bundle.[hash].js'
    },
    plugins: [
        new HtmlWebpackPlugin({
            filename: 'index.html',
            template: 'index.html'
        })
    ]
};
